/*
 * Copyright (c) 2015_ For Intelligent Group_
 */

package com.intelligent.ispc.common.utils;

/**
 * Created by yangli on 2015-07-24_
 */
public class ExceptionMessages {
    //SPC
    public static final int ERR_11001 = 11001;
    public static final int ERR_11002 = 11002;
    public static final int ERR_11003 = 11003;
    public static final int ERR_11004 = 11004;
    //GRR
    public static final int ERR_12001 = 12001;
    public static final int ERR_12002 = 12002;
    public static final int ERR_12003 = 12003;
    public static final int ERR_12004 = 12004;
    public static final int ERR_12005 = 12005;
    public static final int ERR_12006 = 12006;
    public static final int ERR_12007 = 12007;
    public static final int ERR_12008 = 12008;
    public static final int ERR_12009 = 12009;
    public static final int ERR_12010 = 12010;
    public static final int ERR_12011 = 12011;
    public static final int ERR_12012 = 12012;
    //YIELD
    public static final int ERR_13001 = 13001;
    public static final int ERR_13002 = 13002;
    public static final int ERR_13003 = 13003;
    public static final int ERR_13004 = 13004;
    //CONFIG
    public static final int ERR_14001 = 14001;
    //GLOBAL
    public static final int ERR_15001 = 15001;
    public static final int ERR_15002 = 15002;
    public static final int ERR_15003 = 15003;
    public static final int ERR_15004 = 15004;
    public static final int ERR_15005 = 15005;
    public static final int ERR_15006 = 15006;
    public static final int ERR_15007 = 15007;
    public static final int ERR_15008 = 15008;


    //SYSTEM
    public static final int ERR_20001 = 20001;

    //GRR
    public static final String EXCEPTION_GRR_PARAMETER_INVALID = "EXCEPTION_GRR_PARAMETER_INVALID";
    public static final String EXCEPTION_GRR_COLUMN_INVALID = "EXCEPTION_GRR_COLUMN_INVALID";
    public static final String EXCEPTION_GRR_CONFIG_INVALID = "EXCEPTION_GRR_CONFIG_INVALID";
    public static final String EXCEPTION_GRR_PART_COUNT_INVALID = "EXCEPTION_GRR_PART_COUNT_INVALID";
    public static final String EXCEPTION_GRR_DATA_COUNT_INVALID = "EXCEPTION_GRR_DATA_COUNT_INVALID";
    public static final String EXCEPTION_GRR_GROUP_INVALID = "EXCEPTION_GRR_GROUP_INVALID";
    public static final String EXCEPTION_GRR_OPERATOR_DIMENSION_NOT_MATCH = "EXCEPTION_GRR_OPERATOR_DIMENSION_NOT_MATCH";
    public static final String EXCEPTION_GRR_OPERATOR_STRATEGY_INVALID = "EXCEPTION_GRR_OPERATOR_STRATEGY_INVALID";
    public static final String EXCEPTION_GRR_ANALYSIS_INVALID = "EXCEPTION_GRR_ANALYSIS_INVALID";
    public static final String EXCEPTION_GRR_EXPORT_PARAMETER_INVALID = "EXCEPTION_GRR_EXPORT_PARAMETER_INVALID";
    public static final String EXCEPTION_GRR_OPERATOR_IS_EMPTY = "EXCEPTION_GRR_OPERATOR_IS_EMPTY";
    public static final String EXCEPTION_GRR_OPERATOR_NUMBER_ERROR = "EXCEPTION_GRR_OPERATOR_NUMBER_ERROR";


    //SPC
    public static final String EXCEPTION_SPC_PARAMETER_INVALID = "EXCEPTION_SPC_PARAMETER_INVALID";
    public static final String EXCEPTION_SPC_COLUMN_INVALID = "EXCEPTION_SPC_COLUMN_INVALID";
    public static final String EXCEPTION_SPC_EXPORT_PARAMETER_INVALID = "EXCEPTION_SPC_EXPORT_PARAMETER_INVALID";
    public static final String EXCEPTION_SPC_CONFIG_INVALID = "EXCEPTION_SPC_CONFIG_INVALID";

    //YIELD
    public static final String EXCEPTION_YIELD_PARAMETER_INVALID = "EXCEPTION_YIELD_PARAMETER_INVALID";
    public static final String EXCEPTION_YIELD_COLUMN_INVALID = "EXCEPTION_YIELD_COLUMN_INVALID";
    public static final String EXCEPTION_YIELD_CONFIG_INVALID = "EXCEPTION_YIELD_CONFIG_INVALID";
    public static final String EXCEPTION_YIELD_EXPORT_PARAMETER_INVALID = "EXCEPTION_YIELD_EXPORT_PARAMETER_INVALID";

    //CONFIG
    public static final String EXCEPTION_CONFIG_PARAMETER_INVALID = "EXCEPTION_CONFIG_PARAMETER_INVALID";

    //GLOBAL
    public static final String EXCEPTION_GLOBAL_SEARCH_GRAMMAR_INVALID = "EXCEPTION_GLOBAL_SEARCH_GRAMMAR_INVALID";
    public static final String EXCEPTION_GLOBAL_FILE_ALREADY_EXISTED = "EXCEPTION_GLOBAL_FILE_ALREADY_EXISTED";
    public static final String EXCEPTION_GLOBAL_PYTHON_SCRIPT_ERROR = "EXCEPTION_GLOBAL_PYTHON_SCRIPT_ERROR";
    public static final String EXCEPTION_GLOBAL_FILE_PATH_DOESNOT_EXIST = "EXCEPTION_GLOBAL_FILE_PATH_DOESNOT_EXIST";
    public static final String EXCEPTION_GLOBAL_EXPORT_STRUCTURE_INVALID = "EXCEPTION_GLOBAL_EXPORT_STRUCTURE_INVALID";
    public static final String EXCEPTION_GLOBAL_EXPORT_DATAS_INVALID = "EXCEPTION_GLOBAL_EXPORT_DATAS_INVALID";
    public static final String EXCEPTION_GLOBAL_OBJECT_INVALID = "EXCEPTION_GLOBAL_OBJECT_INVALID";
    public static final String EXCEPTION_GLOBAL_FILE_PARAMETER_INVALID = "EXCEPTION_GLOBAL_FILE_PARAMETER_INVALID";


    public static final String EXCEPTION_GLOBAL_SYSTEM = "EXCEPTION_GLOBAL_SYSTEM";
    public static final String EXCEPTION_PARAMETER_INPUT_INVALID = "EXCEPTION_GLOBAL_PARAMETER_INPUT_INVALID";
    public static final String EXCEPTION_OBJECT_DOES_NOT_EXIST = "EXCEPTION_GLOBAL_OBJECT_DOESNOT_EXIST";
    public static final String EXCEPTION_CREDENTIALS_FAIL = "EXCEPTION_CREDENTIALS_FAIL";
    public static final String EXCEPTION_IMPORT_EXIST_FILE = "EXCEPTION_IMPORT_EXIST_FILE";

}
